<?php
	//Mai Hữu Lợi
	//tham chiếu bởi KhoAnh.js
	//trả về cac ảnh
	session_start();
	include("../../handle/config.php");
	
	$sql_anh = "SELECT *  FROM ANH WHERE MAALBUM='$_GET[maalbum]' ORDER BY NGAYDANGANH DESC LIMIT 30 OFFSET $_GET[offset]";
	$result_anh=mysqli_query($con,$sql_anh);
	$i=0;
	echo "<ul  class='enlarge'>";
	while($row_anh=mysqli_fetch_array($result_anh))
	{
		
		echo "<li style='position:relative;width:280px; height:280px;display:inline; float:left; margin:10px;overflow:hidden;'><img style='width:auto; height:300px;'  src='$row_anh[LIENKETANH]' />
			<span>
						<img src='$row_anh[LIENKETANH]' alt='Deckchairs'  />
						
					</span>
					
					</li>";
	}
	echo "</ul>";
?>